package com.ruicar.afs.cloud.afscase.approveocr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.afscase.approveocr.condition.ApproveOcrCondition;
import com.ruicar.afs.cloud.afscase.approveocr.entity.ApproveOcrBatch;
import com.ruicar.afs.cloud.afscase.approveocr.vo.ApproveOcrVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description ocr影像件批次mapper
 * @Author Peng_Jinbo
 * @Date 2020/05/26 17:32
 */
public interface ApproveOcrBatchMapper extends BaseMapper<ApproveOcrBatch> {

    IPage<ApproveOcrBatch> listApproveOcr(Page<ApproveOcrBatch> page, @Param("condition") ApproveOcrCondition condition);

    Integer updateApproveOcr(@Param("dataList") List<ApproveOcrVO> approveOcrVOList, @Param("remark") String remark, @Param("operationType") String operationType, @Param("isDispose") String isDispose);
}
